﻿namespace eg_012_关系运算符
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("第一个数：");
            int Number1 = int.Parse(Console.ReadLine());
            Console.WriteLine("第二个数:");
            int Number2 = int.Parse(Console.ReadLine());

            if (Number1 == Number2)                             //如果两个数相等
                Console.WriteLine("{0} 等于 {1}", Number1, Number2);
            else if (Number1 > Number2)                         //如果数一大于数二
                Console.WriteLine("{0} 大于 {1}", Number1, Number2);
            else if (Number1 < Number2)                         //如果数一小于数二
                Console.WriteLine("{0} 小于 {1}", Number1, Number2);
        }
    }
}